
# def encoding(text: str) -> list:
#     unicode_code: bytes = text.encode(encoding="unicode_escape")
#     char_array = bytes(unicode_code)
#     arrays: list = []
#     for char in char_array:
#         arrays.append(char)
#     return arrays


def encoding(text: str) -> str:
    unicode_code: str = text.encode(encoding="unicode_escape").decode(encoding="ascii")
    print(unicode_code)
    return unicode_code
